#ifndef DFRT_HOOKS_H
#define DFRT_HOOKS_H
#include "dfruntime.h"

#ifdef __cplusplus
extern "C" {
#endif

// Possibly cancels the task
extern bool hook_before_task();

// Is executed before task local scheduling ( inner queue & OMP queue )
extern void hook_before_local_schedule( struct frame_struct *fp);
extern void hook_after_task();
extern void hook_would_wait();
extern void hook_no_work();
extern void hook_at_page_arrival( struct frame_struct * frame);


#ifdef __cplusplus
}
#endif

#endif
